package com.smasher.component.api

import com.smasher.component.entity.BaseData
import com.smasher.component.entity.BaseDataContainer
import com.smasher.component.entity.BeanCustomer
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST

interface Service {



    /**
     * 客户列表
     *
     * @return Single
     */
    @POST("Base_Manage/Home/SubmitLogin")
    suspend fun submitLogin(@Body body: RequestBody): BaseDataContainer<String>



    /**
     * 客户列表
     *
     * @return Single
     */
    @POST("CRM/crm_customer/GetDataList")
    suspend fun getCustomerList(@Body body: RequestBody): BaseDataContainer<List<BeanCustomer>>
}